package com.dao;

import com.entity.MaterialFeature;
import com.util.DBpool.DBconnection;

public class MaterialFeatureDao {
    public static boolean data_save(MaterialFeature materialFeature) {
        DBconnection saveInDB = new DBconnection();
        saveInDB.setSheet_name("Material_Preparation_Feature_Data");
        if (!saveInDB.saveDataToDB(materialFeature.getMaterial_Feature_Information())) {
            System.out.println("材料制备与表征数据存储错误：" + materialFeature.toString());
        }
        return true;
    }

}
